package com.itheima.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author WXL
 * 添加用户所需的数据类型
 */
@Data
public class UserDto {

    @ApiModelProperty(value = "邮箱", required = true)
    private String email;
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    @ApiModelProperty(value = "用户名", required = true)
    private String userName;
    @ApiModelProperty(value = "部门ID", required = true)
    private String deptId;
    @ApiModelProperty(value = "性别 1表示男 0表示女", required = true)
    private String gender;
    @ApiModelProperty(value = "用户状态 1表示启用 0表示禁用", required = true)
    private String state;
    @ApiModelProperty(value = "生日", required = true)
    private String birthday;
    @ApiModelProperty(value = "创建日期", required = true)
    private String joinDate;
    @ApiModelProperty(value = "电话号码", required = true)
    private String telephone;
//    @ApiModelProperty(value = "部门名称",required = true)
//    private String deptName;

}
